//
//  AliXingqiu.m
//  AliBall
//
//  Created by 殷殷明静 on 16/8/12.
//  Copyright © 2016年 殷明静. All rights reserved.
//

#import "AliXingqiu.h"

@implementation AliXingqiu
- (void)setValue:(id)value forUndefinedKey:(NSString *)key {
    
}
- (void)setValue:(id)value forKey:(NSString *)key {
        // 键值对相同可以在这里写
    if ([key isEqualToString:@"data"]) {
        NSMutableArray <Data *>*arr = [NSMutableArray array];
        for (NSDictionary *dic in value) {
            Data *data = [Data modelWithDic:dic];
            [arr addObject:data];
        }
        _data = arr;
    }
}
@end
